{foreach name="#types" key="type" value="output"}
    <textarea id="export-{#type}" onClick="this.focus();this.select();" readonly="readonly">{#output|htmlentities}</textarea>
{/foreach}